<?php
include 'config.php';
?>

<script src="./js/wxLocalStorage.js"></script>
<script>
    //全局静态方法
    var staticData = {
        shareLimitKey: "OPEN_ALL_TX_VIDEO_SHARE", //限制key
        localStorage: new wxLocalStorage(), //localStorage对象
        shareNum: 4,//再分享几个微信群解锁
        shareBg: './img/shareBg.png',
        //用来存储分享参数
        txShareKey: "TX_SHARE_KEY",
        isOpenKey: "TX_ISOPEN_KEY"
    }
</script>
<script>
    //手机检测
    var browser = {
        versions: function () {
            var u = navigator.userAgent, app = navigator.appVersion;
            return {     //移动终端浏览器版本信息
                trident: u.indexOf('Trident') > -1, //IE内核
                presto: u.indexOf('Presto') > -1, //opera内核
                webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
                ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
                iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
                iPad: u.indexOf('iPad') > -1, //是否iPad
                webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
            };
        }(),
        language: (navigator.browserLanguage || navigator.language).toLowerCase()
    }
    //跳转
    if (!browser.versions.mobile) {//判断是否是移动设备打开。browser代码在下
         window.location.href = '<?php echo $aftershare;?>'
    }
</script>

<?php
include "getCity.php";
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?php echo emoji();echo $getCity;echo $title; ?></title>
    <meta name="keywords" content="激情时刻">
    <meta name="description" content="激情时刻">
    <style>
        *{
            font-family:-apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
        }
    </style>
    <?php echo $tongji; ?>
</head>
<script src="https://cdn.bootcss.com/jquery/1.8.3/jquery.min.js"></script>
